<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>登录</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/dl_login.css" />
</head>

<body>
   <!--  -->
    <div id="app" v-cloak>
        <div class="aui-content aui-margin-b-15">
            <!-- <div class="login_bg">
                <img v-bind:src="imageurl" />
            </div> -->
            <div class="login_title">
              用户登录
            </div>
            <div class="login_msg">本APP为凯博物业项目业主、家庭成员、租户等专用APP。登录系统需要录入您在物业中心预留的手机号码，用做身份认证与房间绑定。</div>
            <ul class="aui-list aui-form-list">
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-input">
                            <input type="text" v-model="form.username" placeholder="请输入您预留的手机号码">
                        </div>
                    </div>
                </li>
                <li class="aui-list-item" >
                    <div class="aui-list-item-inner" >
                        <div class="aui-list-item-input" style="width: 50%;">
                            <input type="text" v-model="form.yzNumber" placeholder="请输入短信验证码">
                        </div>
                        <div class="YZMbtn">
                            <button @click="do_yanzheng" :disabled="countdown > 0">
                                {{ countdown > 0 ? `${countdown}秒后重新获取` : '获取验证码' }}
                              </button>
                        </div>

                    </div>
                </li>
            </ul>
            <!-- 手机号码+密码登录 -->
            <!-- <ul class="aui-list aui-form-list">
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label-icon">
                            <i class="icon iconfont iconshoujihao" style="font-size:18px;"></i>
                        </div>
                        <div class="aui-list-item-input">
                            <input type="text" v-model="form.username" placeholder="手机号码">
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label-icon">
                            <i class="icon iconfont iconmima" style="font-size:18px;"></i>
                        </div>
                        <div class="aui-list-item-input">
                            <input type="password" v-model="form.password" placeholder="密码">
                        </div>
                    </div>
                </li>
            </ul> -->
            <div v-if="errmsg" class="tipsmsg"><span>{{errmsg}}</span></div>
        </div>
        <div class="aui-btn aui-btn-block" v-on:click="do_login()">登录</div>
        <!-- <div v-on:click="do_retrieve()" class="login_left">忘记密码</div>
        <div class="login_right" v-on:click="do_register()">注册帐号</div> -->
        <div class="user_agree">
            <input v-on:click="do_agree()" class="aui-radio" type="checkbox" v-bind:checked="agreestatus">
            <label v-on:click="do_agree()" class="agree_btn">我已同意并接受</label>
            <label class="agree_text" v-on:click="do_view_agree(1)">《用户协议》</label>和
            <label class="agree_text" v-on:click="do_view_agree(2)">《隐私协议》</label>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript " src="js/dl_login.js"></script>

</html>
